A one-sample nonparametric test for randomness in a dichotomous variable. A run is any sequence of cases having the same value. The total number of runs in a sample is a measure of randomness in the order of the cases in the sample. Too many or too few runs can suggest a non-random (dependent) ordering. The runs test is only appropriate when the order of cases is meaningful.